package jp.millibit.resource
{
	import flash.events.IEventDispatcher;

	[Event(name="complete", type = "jp.millibit.resource.ResourceEvent")]

	[Event(name="failure", type = "jp.millibit.resource.ResourceEvent")]

	[Event(name="progress", type = "jp.millibit.resource.ResourceEvent")]

	public interface IDataLoader extends IEventDispatcher
	{
		function load(resource:Resource):void;

		function get id():String;
	}
}